package com.east.service;

import com.east.dto.ClueDTO;
import com.east.entity.Clue;
import com.east.query.ClueQuery;
import com.east.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ClueService {
    Result list(Integer currentPage, Integer pageSize, ClueQuery clueQuery);

    Result saveFromExcel(MultipartFile file);

    Result save(ClueDTO clueDTO);

    Result phoneExists(String phone,Integer clueId);

    Result clueInfo(Integer id);

    Result update(Clue clue);

    Result clueCascadeInfo(Integer id);

    Result batchDelete(Integer[] ids);

    Result updateState(Integer clueId,int state);
}
